package flex.cc.order.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import flex.cc.order.manage.dto.order.OrderPolicyEntity;

import java.util.Map;

/**
 * @author wkangle
 * @className OrderRescueService
 * @description 服务单保单信息service
 * @time 2021-09-06 15:46:46
 */
public interface OrderPolicyService extends IService<OrderPolicyEntity> {

    /**
     * @description 添加一条记录
     * @param orderPolicyEntity
     * @return
     * @author wkangle
     * @time 2021/09/08 0008 8:58
     * @exception/throws
     */
    int insert(OrderPolicyEntity orderPolicyEntity);

    /**
     * @description 根据查询条件查询服务单保单信息
     * @param params 查询条件
     * @return
     * @author wkangle
     * @time 2021-09-08 16:19:08
     * @exception/throws
     */
    OrderPolicyEntity getOneByParams(Map<String, Object> params);


    /**
     * @description 更新
     * @param orderPolicyEntity
     * @return
     * @author wkangle
     * @time 2021-09-12 15:19:36
     * @exception/throws
     */
    int update(OrderPolicyEntity orderPolicyEntity);

}
